ARC: Cache: Move I$ entire operation to a separate function
authorEugeniy Paltsev <[email protected]>
Wed, 21 Mar 2018 12:58:46 +0000 (15:58 +0300)
committerAlexey Brodkin <[email protected]>
Wed, 21 Mar 2018 14:06:29 +0000 (17:06 +0300)
commit16aeee81d9baa403f80cb0ac9bea1141243ab97d
treeaa46611eea314275453e22bb56da469913397c93
parent71621525c3bf9ed2a73446ba505ad5b980b6b8bb
ARC: Cache: Move I$ entire operation to a separate function

Move instruction cache entire operation to a separate function
because we are planing to use it in other places like
sync_icache_dcache_all().

Signed-off-by: Eugeniy Paltsev <[email protected]>
Signed-off-by: Alexey Brodkin <[email protected]>
arch/arc/lib/cache.c